package com.alibaba.citrus.ots.sales.plan.repository;

import com.alibaba.citrus.ots.sales.plan.dto.api.request.PageQuerySendHistoryRequest;
import com.alibaba.citrus.ots.sales.plan.dto.api.request.QueryNotificationIDRequest;
import com.alibaba.citrus.ots.sales.plan.dto.api.request.SendHistoryRecordQueryRequest;
import com.alibaba.citrus.ots.sales.plan.sdo.SendHistoryRecordSDO;
import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.lattice2.epoch.sdk.model.Result;

import java.util.List;

public interface SendHistoryRecordRepository {


    PageResult<List<SendHistoryRecordSDO>> pageQuery(PageQuerySendHistoryRequest pageQuerySendHistoryRequest);

    void save(SendHistoryRecordSDO sendHistoryRecordSDO);

    Result<List<SendHistoryRecordSDO>> queryNotification(QueryNotificationIDRequest queryNotificationIDRequest);
}
